SureTriggers\Controllers\RestController A

Total Complexity 67
Dependencies 8
Dependents 7
Total lines 513
Lines of code 320
Logical lines of code 149
Comment lines 129
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
run_action()
A
40 15 56
create_wp_connection()
A
43 10 52
manage_triggers()
A
52 9 23
autheticate_user()
S
59 6 14
basic_auth_handler()
S
56 5 17
trigger_listener()
S
48 4 31
test_triggers()
S
52 4 26
sure_triggers_connection_info()
S
51 2 30
connection_update()
S
71 3 6
success_message()
S
61 2 13
is_current_user()
S
72 2 6
verify_user_token()
S
60 1 13
suretriggers_verify_wp_connection()
S
60 1 13
error_message()
S
64 1 11
__construct()
S
71 1 5
connection_disconnect()
S
77 1 4